﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FarseerPhysics.Dynamics;
using Microsoft.Xna.Framework;
using RacePlatformer.Manager;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;

namespace RacePlatformer.Object.Player
{
    class Cassandra : BasePlayer
    {
        public Cassandra(MainGame maingame, World world, Vector2 position,int ID,int levelID,Keys playerkey)
            : base(maingame, world, position,ID,levelID,playerkey)
        {

        }
        protected override void LoadContent()
        {
            runanimation = new Animation(maingame, "player/cassandra/cassandra_run_strip", 3, 50, 44, TimeSpan.FromSeconds(.1f), Animation.AnimationType.contious);
            jumpanimation = new Animation(maingame, "player/cassandra/cassandra_run_strip", 5, 50, 44, TimeSpan.FromSeconds(.5f), Animation.AnimationType.once, 4);
            portrait = maingame.Content.Load<Texture2D>("player/cassandra/portrait");
            specialskill = maingame.Content.Load<Texture2D>("player/cassandra/specialskill");
            this.mainAnimation = runanimation;
            base.LoadContent();
        }
    }
}
